package cn.krui.project.bean.system.sys_dept;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "sys_dept", description = "系统部门实体类")
public class sys_dept {
    @ApiModelProperty(value = "主键id")
    private  Integer id;
    @ApiModelProperty(value = "部门级别路径")
    private  String dept_path;
    @ApiModelProperty(value = "父级id")
    private  Integer pid;
    @ApiModelProperty(value = "父级名称")
    private  String p_name;
    @ApiModelProperty(value = "部门名称")
    private  String dept_name;
    @ApiModelProperty(value = "部门级别")
    private  Integer level;
    @ApiModelProperty(value = "部门所属省")
    private  String dept_pro;
    @ApiModelProperty(value = "部门所属城市")
    private  String dept_city;
    @ApiModelProperty(value = "部门所属地址")
    private  String dept_addr;
    @ApiModelProperty(value = "部门邮箱")
    private  String dept_letter;
    @ApiModelProperty(value = "排序")
    private  Integer sort ;
    @ApiModelProperty(value = "备注")
    private  String note ;
    @ApiModelProperty(value = "状态")
    private  Integer status ;
    @ApiModelProperty(value = "部门电话")
    private  String mobile ;
    @ApiModelProperty(value = "用户组id")
    private Integer group_id;
    @ApiModelProperty(value = "部门子集")
    private List<sys_dept> children;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getDept_path() {
		return dept_path;
	}
	public void setDept_path(String dept_path) {
		this.dept_path = dept_path;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public String getP_name() {
		return p_name;
	}
	public void setP_name(String p_name) {
		this.p_name = p_name;
	}
	public String getDept_name() {
		return dept_name;
	}
	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public String getDept_pro() {
		return dept_pro;
	}
	public void setDept_pro(String dept_pro) {
		this.dept_pro = dept_pro;
	}
	public String getDept_city() {
		return dept_city;
	}
	public void setDept_city(String dept_city) {
		this.dept_city = dept_city;
	}
	public String getDept_addr() {
		return dept_addr;
	}
	public void setDept_addr(String dept_addr) {
		this.dept_addr = dept_addr;
	}
	public String getDept_letter() {
		return dept_letter;
	}
	public void setDept_letter(String dept_letter) {
		this.dept_letter = dept_letter;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public Integer getGroup_id() {
		return group_id;
	}
	public void setGroup_id(Integer group_id) {
		this.group_id = group_id;
	}
	public List<sys_dept> getChildren() {
		return children;
	}
	public void setChildren(List<sys_dept> children) {
		this.children = children;
	}

}
